<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>交易记录管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/payment/transactionRecord/">交易记录列表</a></li>
		<li class="active"><a href="${ctx}/payment/transactionRecord/form?id=${transactionRecord.id}&flag=info">提现审核 详情</a></li>
	</ul><br/>
	<br />
	<table id="contentTable"
		class="table table-striped table-bordered table-condensed">
		<tr>
			<td>交易类型：</td>
			<td><label>${fns:getDictLabel(transactionRecord.type, 'transaction_type', '')}</label></td>
		</tr>
		<tr>
			<td>出账人：</td>
			<td><label>${(fns:getUserById(transactionRecord.srcUserId)).nickname}</label></td>
		</tr>
		<tr>
			<td>收账人：</td>
			<td><label>${(fns:getUserById(transactionRecord.desUserId)).nickname}</label></td>
		</tr>
		<tr>
			<td>金额：</td>
			<td><label><fmt:formatNumber value="${transactionRecord.fee }" pattern="0.00"/></label></td>
		</tr>
		<tr>
			<td>来源：</td>
			<td><label>${fns:getDictLabel(transactionRecord.source, 'transaction_record_source', '')}</label></td>
		</tr>
		<tr>
			<td>审核意见：</td>
			<td><label>${transactionRecord.comments}</label></td>
		</tr>
		<tr>
			<td>创建日期：</td>
			<td><label><fmt:formatDate value="${transactionRecord.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></label></td>
		</tr>
	</table>
	<br/>
	<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
</body>
</html>